package com.jack.house.entity;

import com.jack.house.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 房屋信息表
 * </p>
 *
 * @author jack
 * @since 2020-04-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="House对象", description="房屋信息表")
public class House extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private String title;

    @ApiModelProperty(value = "价格")
    private Integer price;

    @ApiModelProperty(value = "面积")
    private Integer area;

    @ApiModelProperty(value = "卧室数量")
    private Integer room;

    @ApiModelProperty(value = "楼层")
    private Integer floor;

    @ApiModelProperty(value = "总楼层")
    private Integer totalFloor;

    @ApiModelProperty(value = "被看次数")
    private Integer watchTimes;

    @ApiModelProperty(value = "建立年限")
    private Integer buildYear;

    @ApiModelProperty(value = "房屋状态 0-未审核 1-审核通过 2-已出租 3-逻辑删除")
    private Integer status;

    @ApiModelProperty(value = "城市标记缩写 如 北京bj")
    private String cityEnName;

    @ApiModelProperty(value = "地区英文简写 如昌平区 cpq")
    private String regionEnName;

    @ApiModelProperty(value = "封面")
    private String cover;

    @ApiModelProperty(value = "房屋朝向")
    private Integer direction;

    @ApiModelProperty(value = "距地铁距离 默认-1 附近无地铁")
    private Integer distanceToSubway;

    @ApiModelProperty(value = "客厅数量")
    private Integer parlour;

    @ApiModelProperty(value = "所在小区")
    private String district;

    @ApiModelProperty(value = "所属管理员id")
    private Integer adminId;

    private Integer bathroom;

    @ApiModelProperty(value = "街道")
    private String street;


}
